package com.blrs.domain;

import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 member_template
 * 
 * @author ruoyi
 * @date 2025-01-03
 */
public class MemberTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 产品类型id */
    @Excel(name = "产品类型id")
    private String typeId;

    /** 项目组成员id */
    private Long userId;

    /** 项目组成员 */
    @Excel(name = "项目组成员")
    private String userName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contact;

    /** 职位 */
    @Excel(name = "职位")
    private String position;

    /** 是否删除 */
    private String delFlag;

    /** 归属于 */
    private Long belongTo;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long creationId;

    /** 创建人姓名 */
    @Excel(name = "创建人姓名")
    private String creationName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setTypeId(String typeId)
    {
        this.typeId = typeId;
    }

    public String getTypeId() 
    {
        return typeId;
    }

    public void setContact(String contact)
    {
        this.contact = contact;
    }

    public String getContact()
    {
        return contact;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setCreationId(Long creationId) 
    {
        this.creationId = creationId;
    }

    public Long getCreationId() 
    {
        return creationId;
    }
    public void setCreationName(String creationName) 
    {
        this.creationName = creationName;
    }

    public String getCreationName() 
    {
        return creationName;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getBelongTo() {
        return belongTo;
    }

    public void setBelongTo(Long belongTo) {
        this.belongTo = belongTo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeId", getTypeId())
            .append("userId", getUserId())
            .append("projectTeamMembers", getUserName())
            .append("contact", getContact())
            .append("position", getPosition())
            .append("creationId", getCreationId())
            .append("creationName", getCreationName())
            .append("creationTime", getCreationTime())
            .toString();
    }
}
